package cn.com.simple.learning.designpattern.behavior.mediator;

/**
 * @author Jianxing.Jia
 * @date 2022/2/9
 * @description 描述信息
 */
public class Alarm {

    public void setTime(int i) {
        System.out.println("闹钟将在" + i + "分钟后执行");
    }

    public void close() {
        System.out.println("关闭闹钟...");
    }

}
